home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Bonus / Database / mysql-max-3.23.55.sit / mysql-max-3.23.55-apple-darwi.1 / mysql-test / t / isam.test < prev    next >
Encoding:
Text File  |  2003-01-21  |  387 b   |  20 lines  |  [TEXT/ttxt]

  1. #
  2. # Test possible problem with rows that are about 65535 bytes long
  3. #
  4.  
  5. create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));
  6.  
  7. let $1=100;
  8. while ($1)
  9. {
  10.   eval insert into t1 (b) values(repeat(char(65+$1),65540-$1));
  11.   dec $1;
  12. }
  13. check table t1;
  14. repair table t1;
  15. delete from t1 where (a & 1);
  16. check table t1;
  17. repair table t1;
  18. check table t1;
  19. drop table t1;
  20.